// import { post } from '@/server/http'
import request from '@/server/request'  // 直接引入 instance


// 注册API
export const registerAPI = (params) => {
 return request({
    method: 'post',
    url: 'register',
    data: params,
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded'
    }
  })
}
